{config_load file="lang/$language/lang_$language.conf" section="account_edit"}
{config_load file="lang/$language/lang_$language.conf" section="create_account"}
{$FORM_ACTION}
	{if $error!=''}
		<div>{$error}</div><br /><br />
	{/if}
	<h1>{#heading_account#}</h1>
	
	<div class="ar inputRequirement">{#text_must#}</div>
	<fieldset class="account">
		<legend><strong>{#title_personal#}</strong></legend>
		{if $INPUT_MALE}
			<dl>
				<dt class="w200">{#text_gender#}</dt>
				<dd>{#text_male#} {$INPUT_MALE}<br />{#text_female#} {$INPUT_FEMALE}</dd>
			</dl>
		{/if}
		{if $INPUT_TITLE}
			<dl>
				<dt class="w200">{#text_title#}</dt>
				<dd>{$INPUT_TITLE}</dd>
			</dl>
		{/if}
		{if $INPUT_FIRSTNAME}
			<dl>
				<dt class="w200">{#text_firstname#}</dt>
				<dd>{$INPUT_FIRSTNAME}</dd>
			</dl>
		{/if}
		{if $INPUT_LASTNAME}
			<dl>
				<dt class="w200">{#text_lastname#}</dt>
				<dd>{$INPUT_LASTNAME}</dd>
			</dl>
		{/if}
		{if $INPUT_DOB}
			<dl>
				<dt class="w200">{#text_birthdate#}</dt>
				<dd>{$INPUT_DOB}</dd>
			</dl>
		{/if}
		{if $INPUT_EMAIL}
			<dl>
				<dt class="w200">{#text_email#}</dt>
				<dd>{$INPUT_EMAIL}</dd>
			</dl>
		{/if}
	</fieldset>
	
	{if $INPUT_COMPANY}
		<fieldset class="account">
			<legend><strong>{#title_company#}</strong></legend>
			<dl>
				<dt class="w200">{#text_company#}</dt>
				<dd>{$INPUT_COMPANY}</dd>
			</dl>
			{if $INPUT_VAT}
				<dl>
					<dt class="w200">{#text_ustid#}</dt>
					<dd>{$INPUT_VAT}</dd>
				</dl>
			{/if}
		</fieldset>
	{/if}
	
	{if $INPUT_TEL || $INPUT_FAX}
		<fieldset class="account">
			<legend><strong>{#title_contact#}</strong></legend>
			{if $INPUT_TEL}
				<dl>
					<dt class="w200">{#text_tel#}</dt>
					<dd>{$INPUT_TEL}</dd>
				</dl>
			{/if}
			{if $INPUT_FAX}
				<dl>
					<dt class="w200">{#text_fax#}</dt>
					<dd>{$INPUT_FAX}</dd>
				</dl>
			{/if}
		</fieldset>
	{/if}
	<div class="left">{$BUTTON_BACK}</div>
	<div class="ar">{$BUTTON_SUBMIT}</div>
{$FORM_END}